# RUN: llvm-mc --disassemble %s -triple=i686-apple-darwin9 | FileCheck %s

# CHECK: vcvtne2ps2bf16 %ymm4, %ymm3, %ymm2
0x62,0xf2,0x67,0x28,0x72,0xd4

# CHECK: vcvtne2ps2bf16 %ymm4, %ymm3, %ymm2 {%k7}
0x62,0xf2,0x67,0x2f,0x72,0xd4

# CHECK: vcvtne2ps2bf16 %ymm4, %ymm3, %ymm2 {%k7} {z}
0x62,0xf2,0x67,0xaf,0x72,0xd4

# CHECK: vcvtne2ps2bf16 %xmm4, %xmm3, %xmm2
0x62,0xf2,0x67,0x08,0x72,0xd4

# CHECK: vcvtne2ps2bf16 %xmm4, %xmm3, %xmm2 {%k7}
0x62,0xf2,0x67,0x0f,0x72,0xd4

# CHECK: vcvtne2ps2bf16 %xmm4, %xmm3, %xmm2 {%k7} {z}
0x62,0xf2,0x67,0x8f,0x72,0xd4

# CHECK: vcvtne2ps2bf16  268435456(%esp,%esi,8), %ymm3, %ymm2
0x62,0xf2,0x67,0x28,0x72,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vcvtne2ps2bf16  291(%edi,%eax,4), %ymm3, %ymm2 {%k7}
0x62,0xf2,0x67,0x2f,0x72,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vcvtne2ps2bf16  (%eax){1to8}, %ymm3, %ymm2
0x62,0xf2,0x67,0x38,0x72,0x10

# CHECK: vcvtne2ps2bf16  -1024(,%ebp,2), %ymm3, %ymm2
0x62,0xf2,0x67,0x28,0x72,0x14,0x6d,0x00,0xfc,0xff,0xff

# CHECK: vcvtne2ps2bf16  4064(%ecx), %ymm3, %ymm2 {%k7} {z}
0x62,0xf2,0x67,0xaf,0x72,0x51,0x7f

# CHECK: vcvtne2ps2bf16  -512(%edx){1to8}, %ymm3, %ymm2 {%k7} {z}
0x62,0xf2,0x67,0xbf,0x72,0x52,0x80

# CHECK: vcvtne2ps2bf16  268435456(%esp,%esi,8), %xmm3, %xmm2
0x62,0xf2,0x67,0x08,0x72,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vcvtne2ps2bf16  291(%edi,%eax,4), %xmm3, %xmm2 {%k7}
0x62,0xf2,0x67,0x0f,0x72,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vcvtne2ps2bf16  (%eax){1to4}, %xmm3, %xmm2
0x62,0xf2,0x67,0x18,0x72,0x10

# CHECK: vcvtne2ps2bf16  -512(,%ebp,2), %xmm3, %xmm2
0x62,0xf2,0x67,0x08,0x72,0x14,0x6d,0x00,0xfe,0xff,0xff

# CHECK: vcvtne2ps2bf16  2032(%ecx), %xmm3, %xmm2 {%k7} {z}
0x62,0xf2,0x67,0x8f,0x72,0x51,0x7f

# CHECK: vcvtne2ps2bf16  -512(%edx){1to4}, %xmm3, %xmm2 {%k7} {z}
0x62,0xf2,0x67,0x9f,0x72,0x52,0x80

# CHECK: vcvtneps2bf16 %xmm3, %xmm2
0x62,0xf2,0x7e,0x08,0x72,0xd3

# CHECK: vcvtneps2bf16 %xmm3, %xmm2 {%k7}
0x62,0xf2,0x7e,0x0f,0x72,0xd3

# CHECK: vcvtneps2bf16 %xmm3, %xmm2 {%k7} {z}
0x62,0xf2,0x7e,0x8f,0x72,0xd3

# CHECK: vcvtneps2bf16 %ymm3, %xmm2
0x62,0xf2,0x7e,0x28,0x72,0xd3

# CHECK: vcvtneps2bf16 %ymm3, %xmm2 {%k7}
0x62,0xf2,0x7e,0x2f,0x72,0xd3

# CHECK: vcvtneps2bf16 %ymm3, %xmm2 {%k7} {z}
0x62,0xf2,0x7e,0xaf,0x72,0xd3

# CHECK: vcvtneps2bf16x  268435456(%esp,%esi,8), %xmm2
0x62,0xf2,0x7e,0x08,0x72,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vcvtneps2bf16x  291(%edi,%eax,4), %xmm2 {%k7}
0x62,0xf2,0x7e,0x0f,0x72,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vcvtneps2bf16  (%eax){1to4}, %xmm2
0x62,0xf2,0x7e,0x18,0x72,0x10

# CHECK: vcvtneps2bf16x  -512(,%ebp,2), %xmm2
0x62,0xf2,0x7e,0x08,0x72,0x14,0x6d,0x00,0xfe,0xff,0xff

# CHECK: vcvtneps2bf16x  2032(%ecx), %xmm2 {%k7} {z}
0x62,0xf2,0x7e,0x8f,0x72,0x51,0x7f

# CHECK: vcvtneps2bf16  -512(%edx){1to4}, %xmm2 {%k7} {z}
0x62,0xf2,0x7e,0x9f,0x72,0x52,0x80

# CHECK: vcvtneps2bf16  (%eax){1to8}, %xmm2
0x62,0xf2,0x7e,0x38,0x72,0x10

# CHECK: vcvtneps2bf16y  -1024(,%ebp,2), %xmm2
0x62,0xf2,0x7e,0x28,0x72,0x14,0x6d,0x00,0xfc,0xff,0xff

# CHECK: vcvtneps2bf16y  4064(%ecx), %xmm2 {%k7} {z}
0x62,0xf2,0x7e,0xaf,0x72,0x51,0x7f

# CHECK: vcvtneps2bf16  -512(%edx){1to8}, %xmm2 {%k7} {z}
0x62,0xf2,0x7e,0xbf,0x72,0x52,0x80

# CHECK: vdpbf16ps %ymm4, %ymm3, %ymm2
0x62,0xf2,0x66,0x28,0x52,0xd4

# CHECK: vdpbf16ps %ymm4, %ymm3, %ymm2 {%k7}
0x62,0xf2,0x66,0x2f,0x52,0xd4

# CHECK: vdpbf16ps %ymm4, %ymm3, %ymm2 {%k7} {z}
0x62,0xf2,0x66,0xaf,0x52,0xd4

# CHECK: vdpbf16ps %xmm4, %xmm3, %xmm2
0x62,0xf2,0x66,0x08,0x52,0xd4

# CHECK: vdpbf16ps %xmm4, %xmm3, %xmm2 {%k7}
0x62,0xf2,0x66,0x0f,0x52,0xd4

# CHECK: vdpbf16ps %xmm4, %xmm3, %xmm2 {%k7} {z}
0x62,0xf2,0x66,0x8f,0x52,0xd4

# CHECK: vdpbf16ps  268435456(%esp,%esi,8), %ymm3, %ymm2
0x62,0xf2,0x66,0x28,0x52,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vdpbf16ps  291(%edi,%eax,4), %ymm3, %ymm2 {%k7}
0x62,0xf2,0x66,0x2f,0x52,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vdpbf16ps  (%eax){1to8}, %ymm3, %ymm2
0x62,0xf2,0x66,0x38,0x52,0x10

# CHECK: vdpbf16ps  -1024(,%ebp,2), %ymm3, %ymm2
0x62,0xf2,0x66,0x28,0x52,0x14,0x6d,0x00,0xfc,0xff,0xff

# CHECK: vdpbf16ps  4064(%ecx), %ymm3, %ymm2 {%k7} {z}
0x62,0xf2,0x66,0xaf,0x52,0x51,0x7f

# CHECK: vdpbf16ps  -512(%edx){1to8}, %ymm3, %ymm2 {%k7} {z}
0x62,0xf2,0x66,0xbf,0x52,0x52,0x80

# CHECK: vdpbf16ps  268435456(%esp,%esi,8), %xmm3, %xmm2
0x62,0xf2,0x66,0x08,0x52,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vdpbf16ps  291(%edi,%eax,4), %xmm3, %xmm2 {%k7}
0x62,0xf2,0x66,0x0f,0x52,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vdpbf16ps  (%eax){1to4}, %xmm3, %xmm2
0x62,0xf2,0x66,0x18,0x52,0x10

# CHECK: vdpbf16ps  -512(,%ebp,2), %xmm3, %xmm2
0x62,0xf2,0x66,0x08,0x52,0x14,0x6d,0x00,0xfe,0xff,0xff

# CHECK: vdpbf16ps  2032(%ecx), %xmm3, %xmm2 {%k7} {z}
0x62,0xf2,0x66,0x8f,0x52,0x51,0x7f

# CHECK: vdpbf16ps  -512(%edx){1to4}, %xmm3, %xmm2 {%k7} {z}
0x62,0xf2,0x66,0x9f,0x52,0x52,0x80
